<!DOCTYPE html>
<html lang="zh" style="overflow-x: hidden;">
<head>
<title>系统退款单 | OMS</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />

<!-- 加载 bootstrap 样式-->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />

<!-- 加载本页需要的三方插件样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/FixedColumns/css/fixedColumns.dataTables.css">
<!-- 加载主题风格样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change" class="style-change color-change" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />
<link type="text/css" rel="stylesheet" href="/css/tooltip.css" />
<style>
body {
    background-color: #FFF;
}
table tbody tr td:nth-child(10){
padding:0px !important;
}
table tbody tr td:nth-child(11){
padding:0px !important;
}

.form-inline table .form-control{
    min-width:0px !important;
    width:100% !important;
}
th, td {
    overflow: inherit;
}
/* table thead tr th{
text-align: center !important;
white-space: inherit !important;
}  */
</style>
</head>
<body class="">
    <!--BEGIN CONTENT-->
    <div class="page-content">
        <div id="modelBody" class="row">
            <form id="newForm" role="form" class="form-horizontal">
            	<input type="hidden" id="aftersaleresendstatus" name="aftersaleresendstatus" />
            	<input type=hidden id="actionType" name="actionType" />
                <div class="row">
                    <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                        <div class="form-group">
                            <label for="sourceType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">来源单据类型 </label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <input id="sourceType" name="sourceType" type="text" minlength="1" maxlength="100" placeholder="系统订单"
                                    class="setRO form-control required " disabled />
                                    <input id="orderId" name="orderId" type="hidden" class="form-control">
                            </div>
                            <!-- <label class="col-md-3 control-label">来源单号</label>
                        <div class="col-md-9">
                            <input id="orderCode" name="orderCode" type="text" readonly="readonly" class="form-control">
                            <input id="refundId" name="refundId" type="hidden" readonly="readonly" class="form-control">
                            <input id="orderId" name="orderId" type="hidden" readonly="readonly" class="form-control">
                        </div> -->
                        </div>
                        <div class="form-group">
                            <label for="storId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">网店 </label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <input id="storId" name="storId" type="text" minlength="1" maxlength="100" placeholder=""
                                    class="setRO form-control required" disabled />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="ResendReasonType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">补发原因类型<span class='require'>*</span></label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <select id="ResendReasonType" name="ResendReasonType" class="setRO form-control forsubmiteq" fieldname="item.prj_id"
                                    fieldtype="string" fieldoperator="and" required>
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="cons" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">收货人 <span class='require'>*</span></label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <input id="cons" name="cons" type="text" minlength="1" maxlength="100" class="setRO form-control" required/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="provName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">省  <span class='require'>*</span></label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <select id="provName" name="provName" class="setRO form-control forsubmiteq" required>
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                        <div class="form-group">
                            <label for="sourceNo" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label" style="padding-left: 0px;">来源单号 </label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <input id="sourceNo" name="sourceNo" type="text" minlength="1" maxlength="100" placeholder=""
                                    class="setRO form-control required" disabled />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="buyerNick" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">客户ID</label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <input id="buyerNick" name="buyerNick" type="text" minlength="1" maxlength="100" placeholder=""
                                    class="setRO form-control required" disabled />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="lgstIdNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">发出物流公司 <span class='require'>*</span></label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <select id="lgstIdNew" name="lgstIdNew" class="setRO form-control forsubmiteq" required>
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="consMobile" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">收货人手机 </label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <input id="consMobile" name="consMobile" type="text" maxlength="11" class="setRO form-control" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="cityName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">市 <span class='require'>*</span></label>
                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <select id="cityName" name="cityName" class="setRO form-control forsubmiteq" required>
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                        <div class="form-group">
                            <label for="tradeNo" class="col-xs-3 col-sm-3 col-lg-3 col-md-3 control-label" style="padding-left: 0px;">平台交易号 </label>
                            <div class="col-xs-9 col-sm-9 col-lg-9 col-md-9">
                                <input id="tradeNo" name="tradeNo" type="text" minlength="1" maxlength="100" placeholder=""
                                    class="setRO form-control required" disabled />
                            </div>
                            <!-- <div class="col-sm-4 col-lg-4 col-xs-4 col-md-4" style="padding-left: 0px; padding-top: 5px;">
                                <button id="examine" name="examine" type="button" class="btn btn-warning btn-xs ">
                                    <i class="fa"></i>查看
                                </button>
                                <button id="cancelBtn" name="cancelBtn" type="button" class="btn btn-warning btn-xs "
                                    style="margin-left: 1px; float: right;">
                                    <i class="fa"></i>取消
                                </button>
                            </div> -->
                        </div>
                        <div class="form-group">
                            <label for="storName" class="col-sm-3 col-lg-3 col-xs-3 col-md-3 control-label" style="padding-left: 0px;">发货仓库 <span
                                class='require'>*</span></label>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9">
                                <select id="storName" name="storName" class="setRO form-control forsubmiteq" fieldname="item.prj_id" fieldtype="string"
                                    fieldoperator="and" required>
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="lgstNo" class="col-sm-3 col-lg-3 col-xs-3 col-md-3 control-label">快递单号<span
                                class='require'>*</span></label>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9">
                                <input id="lgstNo" name="lgstNo" type="text" minlength="1" maxlength="100" class="setRO form-control" required/>
                            </div>
                        </div>
                        <!-- <div class="form-group">
                            <label for="postcodes" class="col-sm-3 col-lg-3 col-xs-3 col-md-3 control-label" style="padding-left: 0px;">收货人邮编</label>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9">
                                <input id="postcodes" name="postcodes" type="text" minlength="1" maxlength="100" class="setRO form-control" />
                            </div>
                        </div> -->
                        <div class="form-group">
                            <label for="consTel" class="col-sm-3 col-lg-3 col-xs-3 col-md-3 control-label">收货人电话 </label>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9">
                                <input id="consTel" name="consTel" type="text" placeholder="xxxx-xxxxxxxx" maxlength="20" class="setRO form-control" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="distName" class="col-sm-3 col-lg-3 col-xs-3 col-md-3 control-label">区 </label>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9">
                                <select id="distName" name="distName" data-style="btn-white" data-live-search="true"  class="setRO form-control forsubmiteq" >
                                    <option value="">请选择</option>
                                </select>
                            </div>
                            
                        </div>
                        
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8">
                        <div class="form-group">
                            <label for="consAddr" class="col-sm-2 col-lg-2 col-xs-2 col-md-2 control-label">详细地址 <span class='require'>*</span></label>
                            <div class="col-sm-10 col-lg-10 col-xs-10 col-md-10">
                                <input id="consAddr" name="consAddr" type="text" placeholder="" minlength="1" maxlength="166" class="setRO form-control" required/>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                       <div class="form-group">
                            <label for="remark" class="col-sm-3 col-lg-3 col-xs-3 col-md-3 control-label">备注 </label>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9">
                                <input id="remark" name="remark" type="text" placeholder="" minlength="1" maxlength="85" class="setRO form-control" />
                            </div>
                        </div>
                    </div>
                </div>
            </form>
            <div class="row panel-body">
                <!--             <div class="col-md-1 col-sm-1"></div> -->
                <div class="row">
                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        <h4>&nbsp;商品信息</h4>
                    </div>
                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        <div id="rderGoodsDiv" class="input-group" style="z-index:999">
                        
                            <select id="orderGoodsSelect" name="orderGoodsSelect" data-style="btn-white" data-live-search="true"  class="setRO selectpicker form-control forsubmiteq" >
                                <option value="">请选择订单商品</option>
                            </select>
                            <input id="orderGoodsSelect" type="hidden" placeholder="选择并添加订单商品" class="form-control" oninput="inputSelect(this.value)" list="orderGoodsList"/>
                            <input id="hidOrderGoodsSelect" type="hidden" class="form-control"/>
                             <span class="input-group-btn">
                                <button id="orderGoodsAdd" type="button" class="btn btn-primary">
                                    <i class="fa fa-plus"></i>
                                </button>
                            </span>
                        </div>
                    </div>
                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        <div id="unOrderGoodsDiv" class="input-group" style="z-index:999">
                        
                            <select id="unOrderGoodsSelect" name="unOrderGoodsSelect" data-style="btn-white" data-live-search="true"  class="setRO selectpicker form-control forsubmiteq" >
                                <option value="">请选择非订单商品</option>
                            </select>
                            <input id="unOrderGoodsSelect" type="hidden" placeholder="选择并添加非订单商品" class="form-control" list="unOrderGoodsList"/> <span class="input-group-btn">
                                <button id="unOrderGoodsAdd" type="button" class="btn btn-primary">
                                    <i class="fa fa-plus"></i>
                                </button>
                            </span>
                        </div>
                    </div>
                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        <div id="giftGoodsDiv" class="input-group" style="z-index:999">
                        
                            <select id="giftGoodsSelect" name="giftGoodsSelect" data-style="btn-white" data-live-search="true"  class="setRO selectpicker form-control forsubmiteq" >
                                <option value="">请选择赠品</option>
                            </select>
                            <input id="giftGoodsSelect" type="hidden" placeholder="选择并添加赠品" class="form-control" list="giftGoodsList"/> <span class="input-group-btn">
                                <button id="giftGoodsAdd" type="button" class="btn btn-primary">
                                    <i class="fa fa-plus"></i>
                                </button>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12 col-xs-12 col-sm-12 col-md-12">
                    <div class="table-responsive" style="width: 100%;">
                        <input type="hidden" id="hidTableData" name ="hidTableData"/>
                        <table id="tblAddGoods" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header" style=""
                            width="100%">
                            <thead>
                                <tr>
                                    <th width="10%" colValue="goodsCode" style="text-align: left;">商品商家编码</th>
                                    <th width="10%" colValue="goodsName" style="text-align: left;">商品名称</th>
                                    <th width="10%" colValue="skuCode" style="text-align: left;">规格商家编码</th>
                                    <th width="6%" colValue="skuName" style="text-align: left;">规格名称</th>
                                    <th width="8%" colValue="ecItemName" style="text-align: left;">平台商品名称</th>
                                    <th width="8%" colValue="ecSkuCode" style="text-align: left;">平台商品编码</th>
                                    <th width="8%" colValue="isOrderSku" style="text-align: left;">订单商品</th>
                                    <th width="8%" colValue="isGift" style="text-align: left;">赠品</th>
                                    <th width="8%" colValue="orderQty" style="text-align: right;">订购数</th>
                                    <th width="8%" colValue="resendQty" style="text-align: right;">补发数 <span
                                    class='require'>*</span></th>
                                    <th width="10%" colValue="factUnitPrice" style="text-align: right;">实际单价 <span
                                    class='require'>*</span></th>
                                    <th width="10%" colValue="actualAmount" style="text-align: right;">实际金额</th>
                                    <th width="10%" colValue="divideGoodsFee" style="text-align: right;">实际支付单价</th>
                                    <th width="10%" colValue="divideOrderFeeShow" style="text-align: right;">实际支付金额</th>
                                    <th width="8%" colValue="goodsSkuCost" style="text-align: right;">成本价</th>
                                    <th width="6%" colValue="sn" style="text-align: left;">SN号</th>
                                    <th width="6%" colValue="goodsCode">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>


    </div>
    

    <datalist id="orderGoodsList">

    </datalist>
    <datalist id="unOrderGoodsList">

    </datalist>
    <datalist id="giftGoodsList">

    </datalist>
    <!-- ====================================== 窗口区 ===================================== -->
    <!-- 导出文件 -->
    <!-- 加载 jquery js-->
    <script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-ui.js"></script>

    <!-- 加载 bootstrap 和三方插件 js -->
    <script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
    <script src="/Apollo/madmin/js/html5shiv.js"></script>
    <script src="/Apollo/madmin/js/respond.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
    <script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
    <script src="/Apollo/madmin/js/table-advanced.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/FixedColumns/js/dataTables.fixedColumns.js"></script>

    <script src="/Apollo/madmin/vendors/select2/select2.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.js"></script>
    <script src="/Apollo/madmin/vendors/multi-select/js/jquery.multi-select.js"></script>
    
    <script src="/Apollo/madmin/js/ui-dropdown-select.js"></script>

    <script src="addAfterSaleResend.js"></script>
    <script src="/views/static/js/form.js"></script>
</body>
</html>